package com.njcb.game.pojo;

import com.njcb.ams.support.annotation.DataDic;
import com.njcb.ams.support.codevalue.EnumCode;

/**
 * @author LOONG
 */

@DataDic(dataType = "CheckResult", dataTypeName = "验证结果")
public enum CheckResult implements EnumCode {

    FAIL("0", "失败"),
    SUCC("1", "成功");

    private String code;
    private String desc;

    CheckResult(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }
}
